<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" 
      xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
    
    <h:panelGrid columns="3" border="0">
        ${msg.Login_usuario}: <h:inputText id="username" 
                               value="#{usermanager.username}"
                               required="true"
                               requiredMessage="*"
                               />        
        <h:message for="contentform:username" style="color: red"/>
        ${msg.Login_password}: <h:inputSecret id="password"
                               value="#{usermanager.password}"
                               required="true"
                               requiredMessage="*"
                               />
        <h:message for="contentform:password" style="color: red"/>
        <f:facet name="footer"><h:messages /></f:facet>
        
    </h:panelGrid>
    <h:commandButton id="submit" 
                     type="submit"
                     value="Login"
                     action="#{usermanager.validateUser}"/>
    <br />
</ui:composition>